package com.system.employment.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.system.employment.entity.Employment;


public interface IEmploymentService {
	public void saveOrUpdate(Employment mployment);
	public void delete(Employment mployment);
	public Employment findOne(Long id);
	public List<Employment> findAll();
	public void delete(List<Long> ids);
	
	//动态条件查询
	public Page<Employment> findAll(Specification<Employment> spec, Pageable pageable);
}
